{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>操作提示 - 电商之家</title>
    <link rel="stylesheet" href="__STATIC__/index/css/font.css">
    <link rel="stylesheet" href="__STATIC__/index//layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/index/css/global.css" charset="utf-8">
    <link rel="stylesheet" href="__STATIC__/index/css/docs.css" charset="utf-8">
</head>

<body>
    <include file="public/header"/>
    <div class="layui-container fly-marginTop">
        <div class="fly-panel">
          <div class="fly-none">
            
            <?php switch ($code) {?>
                <?php case 1:?>
                <h2><i class="iconfont icon-biaoqing1"></i></h2>
                <p class="success"><?php echo(strip_tags($msg));?></p>
                <?php break;?>
                <?php case 0:?>
                <h2><i class="iconfont icon-tishilian"></i></h2>
                <p class="error"><?php echo(strip_tags($msg));?></p>
                <?php break;?>
            <?php } ?>
          <p>页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间：<b id="wait"><?php echo($wait);?></b></p>
          </div>
        </div>
    </div>
    <include file="public/footer"/>
</body>
<script type="text/javascript">
     (function(){
         var wait = document.getElementById('wait'),
            href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
</html>